var pic_width=260;
var pic_height=240;
var button_pos=3;
var stop_time=10000;
var show_text=0;
var txtcolor="ffffff";
var bgcolor="000000";
var imag=new Array();
var link=new Array();
var text=new Array();
imag[1]="https://lh5.googleusercontent.com/-goFqYmYy9qU/Uh9p5nmv3iI/AAAAAAAABis/lG_HBMzs3-Y/s1600/1.jpg";
link[1]="http://1400.vn/";
text[1]=""; 
imag[2]="https://lh5.googleusercontent.com/-A-9jd5kKrRc/Uh9p6UHc09I/AAAAAAAABi8/b7BXBFzJgVc/s1600/2.jpg";
link[2]="http://1400.vn/";
text[2]="";
imag[3]="https://lh5.googleusercontent.com/-8B-zCHKA52g/Uh9p5dIQ5YI/AAAAAAAABio/IFudOoeDcic/s1600/3.jpg";
link[3]="http://1400.vn/";
text[3]="";
imag[4]="https://lh3.googleusercontent.com/-zz5kGaMZbes/Uh9p6JQTwPI/AAAAAAAABjA/s-StEesFqK8/s1600/4.jpg";
link[4]="http://1400.vn/";
text[4]="";
imag[5]="https://lh6.googleusercontent.com/-vz-8PAWHjxQ/Uh9p6mocuHI/AAAAAAAABjE/42D0R634qxI/s400/5.jpg";
link[5]="http://1400.vn/";
text[5]="";
var swf_height=show_text==1?pic_height+0:pic_height;
var pics="", links="", texts="";
for(var i=1; i<imag.length; i++){
pics=pics+("|"+imag[i]);
links=links+("|"+link[i]);
texts=texts+("|"+text[i]);
}
pics=pics.substring(1);
links=links.substring(1);
texts=texts.substring(1);
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ pic_width +'" height="'+ swf_height +'" style="margin: 0px 0px 0px 0px;">');
document.write('<param name="movie" value="http://www.catmoc.cmg.vn/images/gallery.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&pic_width='+pic_width+'&pic_height='+pic_height+'&show_text='+show_text+'&txtcolor='+txtcolor+'&bgcolor='+bgcolor+'&button_pos='+button_pos+'&stop_time='+stop_time+'">');
document.write('<embed style="margin: 0px 0px 0px 0px;" src="http://www.catmoc.cmg.vn/images/gallery.swf" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&pic_width='+pic_width+'&pic_height='+pic_height+'&show_text='+show_text+'&txtcolor='+txtcolor+'&bgcolor='+bgcolor+'&button_pos='+button_pos+'&stop_time='+stop_time+'" quality="high" width="'+ pic_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
document.write('</object>');